Equals Method (Pair)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines if this pair is equal to another pair. The pair is equal if the first and second elements both compare equal using IComparable<T>.Equals or object.Equals.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public bool Equals(
	Pair<TFirst, TSecond> other
)
Visual Basic (Declaration)
Public Function Equals ( _
	other As Pair(Of TFirst, TSecond) _
) As Boolean
Visual C++
public:
bool Equals (
	Pair<TFirst, TSecond> other
)

Parameters

other
Pair<(Of <TFirst, TSecond>)>
Pair to compare with for equality.

Return Value

True if the pairs are equal. False if the pairs are not equal.

See Also